﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dukou.Domain;

namespace Dukou.Security.Domain
{
    public class LogonInfo : HibernateEntity<Int64>
    {
        /// <summary>
        /// 
        /// </summary>
        public virtual Guid Identifier { get; set; }

        /// <summary>
        /// 获取 / 设置 会话ID
        /// </summary>
        public virtual string SessionId { get; set; }

        /// <summary>
        /// 获取 / 设置 IP
        /// </summary>
        public virtual string IP { get; set; }

        /// <summary>
        /// 获取 / 设置 用户
        /// </summary>
        public virtual User User { get; set; }

        /// <summary>
        /// 获取 / 设置 密码
        /// </summary>
        public virtual string Password { get; set; }

        /// <summary>
        /// 获取 / 设置 登录时间
        /// </summary>
        public virtual DateTime LogonTime { get; set; }

        /// <summary>
        /// 获取 / 设置 刷新时间
        /// </summary>
        public virtual DateTime RefreshTime { get; set; }
    }
}
